<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="g" uri="/g-tags"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${modeTitle}数据项</title>
<jsp:include page="../include/edit_meta.jsp"></jsp:include>
</head>
<body>

<div>
    <div class="panel_header">
        <h1>${modeTitle}数据项</h1>
    </div>
    <div class="panel_body">
    	<div id="msg"></div>
        <!--表单布局-->
        <form action="${ctx}/dictItem/dictItem!${mode}.shtml" id="edit_form" method="post">
        	<input name="id" type="hidden" value="${dictItem.id }" />
        	<input name="dict.id" type="hidden" value="${dict.id }" />
	        <div class="form_wrap">
	        
				<div class="form_item br">
		            <label>名称：</label>
		            <input name="dictItem.name" type="text" value="${dictItem.name }" class="input_text {required:true}" />
		        </div>
				<div class="form_item br">
		            <label>值：</label>
		            <input name="dictItem.value" type="text" value="${dictItem.value }" class="input_text {required:true}" />
		        </div>
				<div class="form_item br">
		            <label>排序：</label>
		            <input name="dictItem.sort" type="text" value="${dictItem.sort }" class="input_text {required:true,digits:true}" />
		        </div>
		    	
		    	<div class="divider"></div>
		    </div>
		    <!--表单布局-->
		    
		    <div class="form_btn">
		        <ul>
		            <li><input type="submit" value="提交" /></li>
		            <li><input type="button" value="取销" onclick="cancel()"/></li>
		        </ul>
		    </div>
		</form>
        <!--表单布局end-->
    </div>
</div>
</body>
</html>